Skip to content

Add ruff to lint stage, fix some discovered import/export issues etc.#744

Open
Ickerday wants to merge 1 commit intodevelopfrom
chore/adjust-linter-formatter-config
Open

Add ruff to lint stage, fix some discovered import/export issues etc.#744
Ickerday wants to merge 1 commit intodevelopfrom
chore/adjust-linter-formatter-config

Conversation

@Ickerday
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread .github/workflows/lint.yml Outdated
@Ickerday Ickerday force-pushed the chore/adjust-linter-formatter-config branch from 5ddc2c2 to bc51c97 Compare April 27, 2026 16:12
@Ickerday Ickerday changed the title Add ruff to lint.yml Add ruff to lint stage, fix some discovered import/export issues etc. Apr 27, 2026
@Ickerday Ickerday force-pushed the chore/adjust-linter-formatter-config branch from bc51c97 to 4e405a1 Compare April 27, 2026 16:35
Comment thread splunklib/modularinput/event.py Outdated
@Ickerday Ickerday force-pushed the chore/adjust-linter-formatter-config branch from 4e405a1 to f9b8a78 Compare April 28, 2026 12:44
@Ickerday Ickerday marked this pull request as ready for review April 28, 2026 13:24
@Ickerday Ickerday force-pushed the chore/adjust-linter-formatter-config branch 2 times, most recently from c4cd038 to a8bbeca Compare April 28, 2026 14:13
… we don't use Windows, fix import/export errors, rewrite baseline
@Ickerday Ickerday force-pushed the chore/adjust-linter-formatter-config branch from a8bbeca to 1bcf46c Compare April 29, 2026 20:03
@mateusz834
Copy link
Copy Markdown
Member

mateusz834 commented Apr 30, 2026

Is this PR fully automatic, or are here any manual changes? Its hard for me to review this change. Please update the PR description to include such details what this change does.

The best way to approach such changes is to separate these i.e. one PR (or just commit) that does a format and second that does changes to fix say lint issues required to enable it in CI, otherwise such PRs require huge review burden to get through merging it. Since now this change requires a review of every single file, instead of just the 2nd PR/commit and it is super easy to miss important changes, that are not related to formatting changes.

'foo="f" boolean="f" code="foo == \\"bar\\"" duration="24:59:59" fieldname="some.field_name" '
"file="
+ json_encode_string(__file__)
+ encode_basestring_ascii(__file__)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I openned this file randomly and see a non-formatting change. Why we are doing this change here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants